From 8430be75ed1c4f747170138ac29aaef485aa78bc Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 23 Jun 2016 15:46:45 -0400 Subject: [PATCH] Fix an array overrun When I introduced the new input source enum value for track points, I forgot that there is a fixed-size array with names for those in the inspector. --- gtk/inspector/general.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk/inspector/general.c b/gtk/inspector/general.c index 04bdbad26a..31dd6aac9e 100644 --- a/gtk/inspector/general.c +++ b/gtk/inspector/general.c @@ -474,7 +474,8 @@ add_device (GtkInspectorGeneral *gen, "Cursor", "Keyboard", "Touchscreen", - "Touchpad" + "Touchpad", + "Trackpoint" }; name = gdk_device_get_name (device); -- 2.30.2